/*
 * @Description: scss方法
 * @Author: Prm612
 * @Date: 2020-11-03 14:38:26
 * @LastEditTime: 2020-11-23 15:42:51
 * @LastEditors: Prm612
 */
//  @include
// 多行超出省略号
@mixin ellipsis($line: 2, $line-height: 1.2) {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: $line-height;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $line;
}

// 外边距
@mixin mg($mg: 10px) {
  margin: $mg;
}
// 内边距
@mixin pd($pd: 10px) {
  padding: $pd;
}
// 字体大小
@mixin fontsize($ft: 14px) {
  font-size: $ft;
}
// affter右边的线
@mixin affterline($top: 20px, $right: 0px, $width: 1px, $height: 40px) {
  content: '';
  position: absolute;
  right: $right;
  top: $top;
  width: $width;
  height: $height;
  background: $divider-line;
}
